package com.string;

public class TestMethod {
	
public static void main(String[] args) {
	String s1=new String("deepak");
	String s2=new String("deepak");
	String s3="deepak";
	String s4="deepak";
	System.out.println(s1.equals(s2));
	System.out.println(s4==s3);
	
}
}

